<?php
class App_Tpl_Form_Field_Text extends App_Tpl_Form_Field{

	public function PreparePost($fieldPostData, $params)
	{
		$fieldPostData = (string)$fieldPostData;

		return Mozg::Lib('str')->EscapeAbsoluteUrls($fieldPostData);
	}

	protected function PrepareOut($fieldData, $params)
	{
		return (string)$fieldData;
	}
	
    protected function RenderField()
    {
    	return $this->render('form/field/_text.phtml');
    }
	
}